package com.ruoyi.project.cardbox.outbound.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.project.cardbox.outbound.domain.OrderOutbound;
import org.apache.ibatis.annotations.Param;

/**
 * 出库单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-04
 */
public interface OrderOutboundMapper extends BaseMapper<OrderOutbound>
{
    /**
     * 查询出库单
     * 
     * @param id 出库单主键
     * @return 出库单
     */
    public OrderOutbound selectOrderOutboundById(Long id);

    /**
     * 查询出库单列表
     * 
     * @param orderOutbound 出库单
     * @return 出库单集合
     */
    public List<OrderOutbound> selectOrderOutboundList(OrderOutbound orderOutbound);

    /**
     * 新增出库单
     * 
     * @param orderOutbound 出库单
     * @return 结果
     */
    public int insertOrderOutbound(OrderOutbound orderOutbound);

    /**
     * 修改出库单
     * 
     * @param orderOutbound 出库单
     * @return 结果
     */
    public int updateOrderOutbound(OrderOutbound orderOutbound);

    /**
     * 删除出库单
     * 
     * @param id 出库单主键
     * @return 结果
     */
    public int deleteOrderOutboundById(Long id);

    /**
     * 批量删除出库单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOrderOutboundByIds(String[] ids);

    List<OrderOutbound> selectOrderOutboundByIds(@Param("ids") List<String> ids);

}
